package com.aizhixin.lab.project.course.repository;

import com.aizhixin.lab.project.course.entity.ProjectGroupScore;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ProjectGroupScoreRepository extends JpaRepository<ProjectGroupScore,String> {
    ProjectGroupScore findByProjectIdAndGroupId(String prjectId,String groupId);
    ProjectGroupScore findByReleaseProjectReplyIdAndGroupId(String releaseProjectReplyId,String groupId);
    void deleteByProjectIdAndGroupId(String prjectId,String groupId);
    void deleteByReleaseProjectReplyIdAndGroupId(String releaseProjectReplyId,String groupId);

}
